package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 招生标签
 * </p>
 *
 * @author min
 * @since 2023-02-11
 */
@TableName("enroll_label")
@Data
public class EnrollLabel implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private Long pid;

    private Integer sort;

    /**
     * 颜色序号
     */
    private Integer cororIndex;

    private Long teacherId;

    /**
     * 是否系统数据
     */
    private Integer isSystem;

    private Integer status;

    /**
     * 子节点
     */
    @TableField(exist = false)
    private List<EnrollLabel> childNode;
}
